package democlone;

public class Money implements Cloneable {
    public double money = 9.1;

    public Money(double money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "Money{" +
                "money=" + money +
                '}';
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
